/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.shared.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Bracing implements Serializable {

	@Id Long id;
	private static final long serialVersionUID = -4891116662140311362L;
	
	private String crippleWalls;
	private String chimneys;
	private String chimneyAnchored;
	private String plumbingSystem;
	private String mechanicalSystem;
	private String electricalSystem;
	private String suspendedCeiling;
	private String mechanicalOnRoof;
	private String rooftanks;
	
	// constants
	public static final String CRIPPLEWALLS = "cripple walls";
	public static final String CHIMNEYS = "chimneys";
	public static final String CHIMNEYANCHORED = "chimney anchored";
	public static final String PLUMBING = "plumbing";
	public static final String MECHANICAL = "mechanical";
	public static final String ELECTRICAL = "electrical";
	public static final String SUSPENDEDCEILING = "suspended ceiling";
	public static final String MECHANICALROOF = "mechanical on roof";
	public static final String ROOFTANKS = "roof tanks";
	
	public Bracing()
	{
		
	}

	public String getChimneys() {
		return chimneys;
	}


	public void setChimneys(String chimneys) {
		this.chimneys = chimneys;
	}


	public String getChimneyAnchored() {
		return chimneyAnchored;
	}

	public void setChimneyAnchored(String chimneyAnchored) {
		this.chimneyAnchored = chimneyAnchored;
	}

	public String getCrippleWalls() {
		return crippleWalls;
	}


	public void setCrippleWalls(String crippleWalls) {
		this.crippleWalls = crippleWalls;
	}


	public String getElectricalSystem() {
		return electricalSystem;
	}


	public void setElectricalSystem(String electricalSystem) {
		this.electricalSystem = electricalSystem;
	}


	public String getMechanicalOnRoof() {
		return mechanicalOnRoof;
	}


	public void setMechanicalOnRoof(String mechanicalOnRoof) {
		this.mechanicalOnRoof = mechanicalOnRoof;
	}


	public String getMechanicalSystem() {
		return mechanicalSystem;
	}


	public void setMechanicalSystem(String mechanicalSystem) {
		this.mechanicalSystem = mechanicalSystem;
	}


	public String getPlumbingSystem() {
		return plumbingSystem;
	}


	public void setPlumbingSystem(String plumbingSystem) {
		this.plumbingSystem = plumbingSystem;
	}


	public String getRooftanks() {
		return rooftanks;
	}


	public void setRooftanks(String rooftanks) {
		this.rooftanks = rooftanks;
	}


	public String getSuspendedCeiling() {
		return suspendedCeiling;
	}


	public void setSuspendedCeiling(String suspendedCeiling) {
		this.suspendedCeiling = suspendedCeiling;
	}


	public String toString()
	{
		String str = "";
		str += "[bracing";
		str += "[cripple-walls="+this.crippleWalls+"]";
		str += "[chimneys="+this.chimneys+"]";
		str += "[plumbing-system="+this.plumbingSystem+"]";
		str += "[mechanical-system="+this.mechanicalSystem+"]";
		str += "[electrical-system="+this.electricalSystem+"]";
		str += "[suspended-ceiling="+this.suspendedCeiling+"]";
		str += "[mechanical-on-roof="+this.mechanicalOnRoof+"]";
		str += "[rooftanks="+this.rooftanks+"]";
		str += "]";
		return str;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}	
	
}
